﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Game.model;

namespace Game.ai
{
    public class BoatAI:CharacterAI
    {
        public BoatAI(Creature actor):base(actor)
	    {
		    //super(actor);
	    }
	
	    protected override void onEvtArrived()
	    {
		    Boat actor = (Boat) getActor();
		    if (actor == null)
		    {
			    return;
		    }
		    actor.onEvtArrived();
	    }
	
	    
	    public override bool isGlobalAI()
	    {
		    return true;
	    }
    }
}
